/* Copyright Thanh-Trung Pham, 2015 */
package jp.ac.uaizu.translation;

/**
 * @author Thanh-Trung Pham
 */
public interface ISerCompTranslator {
    /**
     * Translate inputs from service composition frameworks into a valid input model for the underlying RMPI's reliability modeling and prediction method.
     * @param configurationSettings the run configuration settings.
     * @param reliabilityRequirements the service reliability requirements.
     * @param usageProfiles the service usage profiles.
     * @param compositionWorkflow the service composition workflow.
     * @param failureModels the service failure models.
     * @return the input model for the underlying RMPI's reliability modeling and prediction method.
     * @throws TranslationException if there is an error.
     */
    InputModel translate(String configurationSettings, byte[] reliabilityRequirements, byte[] usageProfiles, byte[] compositionWorkflow, byte[] failureModels) throws TranslationException;
}
